package com.coldchain.auth.jwt.user;
import com.coldchain.auth.module.client.bean.LoginTypeEnum;

import java.io.Serializable;

public class JwtAuthenticationRequest implements Serializable {

    private static final long serialVersionUID = -8445943548965154778L;
    private String scope;
    private String username;
    private String loginType= LoginTypeEnum.PASSWORD.name();
    private String password;


    public JwtAuthenticationRequest(String scope, String username, String password) {
        this.username = username;
        this.scope=scope;
        this.password = password;
    }

    public JwtAuthenticationRequest() {
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getScope() {
        return scope;
    }

    public void setScope(String scope) {
        this.scope = scope;
    }

    public String getLoginType() {
        return loginType;
    }

    public void setLoginType(String loginType) {
        this.loginType = loginType;
    }
}
